/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.purchasecollect.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.purchasecollect.entity.PurchaseCollect;
import com.jeeplus.modules.purchasecollect.mapper.PurchaseCollectMapper;

/**
 * 求购收藏Service
 * @author zhych
 * @version 2021-12-09
 */
@Service
@Transactional(readOnly = true)
public class PurchaseCollectService extends CrudService<PurchaseCollectMapper, PurchaseCollect> {

	public PurchaseCollect get(String id) {
		return super.get(id);
	}
	
	public List<PurchaseCollect> findList(PurchaseCollect purchaseCollect) {
		return super.findList(purchaseCollect);
	}
	
	public Page<PurchaseCollect> findPage(Page<PurchaseCollect> page, PurchaseCollect purchaseCollect) {
		return super.findPage(page, purchaseCollect);
	}
	
	@Transactional(readOnly = false)
	public void save(PurchaseCollect purchaseCollect) {
		super.save(purchaseCollect);
	}
	
	@Transactional(readOnly = false)
	public void delete(PurchaseCollect purchaseCollect) {
		super.delete(purchaseCollect);
	}
	
}